/**
 * Copyright (C) 2011 INRIA, University of Lille 1
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact:
 *
 * Author(s): Nicolas Haderer 
 *
 * Contributor(s) : 
 *
 */
package com.google.antranking.utils;

final public  class AtConstant {
	
	
	final public static String DEFAULT_ANTDROID_SERVER_URL = "http://antdroid.jelastic.com";
	
	final public static String HEADER_ANTDROID_SCRIPT="load('/sdcard/fr.inria.lille.antdroid/libs/antdroid.js');";
	
	final public static String[] ANTDROID_JSLIBS = new String[]{
		"https://antdroid.lille.inria.fr/apps/format.js",
		"https://antdroid.lille.inria.fr/apps/event.js",
		"https://antdroid.lille.inria.fr/apps/antdroid.js"
	};
	
	final public static String SERVICE_GET_SCRIPT = "/ant/get/script";
	final public static String SERVICE_GET_XPS = "/ant/get/xps";
	final public static String SERVICE_SEND_TRK = "/ant/add/trk/json";
	final public static String SERVICE_CREATE_ACCOUNT = "/connect/create/account/ant";
	final public static String SERVICE_CONNECTION ="/connect/connect";
	
	final public static String PREF_NAME = "pref_name";
	final public static String PREF_HOST = "pref_host";
	final public static String PREF_USERNAME = "pref_login";
	final public static String PREF_PASSWORD = "pref_pwd";
	final public static String PREF_NOTIFICATION_ALERT = "pref_notification_alert";
	final public static String PREF_NOTIFICATION_INFO = "pref_notification_info";
	
	final public static String PREF_CACHE_MACBLUETOOTH = "pref_cache_macbluetooth";
	
	final public static String PREF_SENSOR_LOCATION = "pref_sensor_location";
	final public static String PREF_SENSOR_WIFI = "pref_sensor_wifi";
	final public static String PREF_SENSOR_BLUETOOTH = "pref_sensor_blutooth";
	final public static String PREF_SENSOR_SIGNALSTRENGTH = "pref_sensor_signal";
	final public static String PREF_SENSOR_BATTERY = "pref_sensor_battery";
	final public static String PREF_SENSOR_SMS = "pref_sensor_sms";
	final public static String PREF_SENSOR_PHONE = "pref_sensor_phone";
	
	final public static String PREF_SENSOR_TIME_START_HOUR = "pref_sensor_stimeh";
	final public static String PREF_SENSOR_TIME_START_MIN = "pref_sensor_stimem";
	final public static String PREF_SENSOR_TIME_STOP_HOUR = "pref_sensor_etimeh";
	final public static String PREF_SENSOR_TIME_STOP_MIN = "pref_sensor_etimem";
	
	final public static String PREF_SENSOR_TIME_START_TIME= "pref_sensor_start_time";
	final public static String PREF_SENSOR_TIME_END_TIME= "pref_sensor_end_time";
	final public static String PREF_SENSOR_TIME_SEPARATOR= ";";
	
	final public static String PREF_SENSOR_LOCATION_LAT = "pref_sensor_lat";
	final public static String PREF_SENSOR_LOCATION_LON = "pref_sensor_lon";
	final public static String PREF_SENSOR_LOCATION_RADIUS_RADIAN = "pref_sensor_radius_radian";
	final public static String PREF_SENSOR_LOCATION_GEO = "pref_sensor_geo";
	
	final public static String PREF_SENSOR_MINLAT = "pref_sensor_minlat";
	final public static String PREF_SENSOR_MINLON = "pref_sensor_minlon";
	final public static String PREF_SENSOR_MAXLAT = "pref_sensor_maxlat";
	final public static String PREF_SENSOR_MAXLON = "pref_sensor_maxlon";
	
	
	final public static String PREF_IS_CONNECTED = "pref_is_connected";
	
	
	final public static String FOLDER_ANTDROID_JSLIBS = "libs";
	
	final public static String FOLDER_ANTDROID_APPS = "sensing";
	
	
	
	/**
	 * Intent Parameters <br/>
	 * 
	 */
	final public static String BROADCAST_LOG_INFO = "fr.antdroid.broadbast.log.info";
	final public static String BROADCAST_LOG_ERROR = "fr.antdroid.broadbast.log.error";
	final public static String BROADCAST_NEW_TRACK = "fr.antdroid.broadbast.new.track";
	final public static String BROADCAST_TRACK_SENT = "fr.antdroid.broadbast.new.send";

}
